/**
 * Zhz.net Inc.
 * Copyright (c) 2004-2010 All Rights Reserved.
 */
package com.zhz.lib.project.controller.form;

import com.zhz.project.common.util.alibaba.StringUtil;
import com.zhz.project.common.util.zhzutil.ZhzStringUtil;

/**
 * 
 * @author liwei
 * @version $Id: LibnewsForm.java, v 0.1 2010-12-12 下午02:55:01 liwei Exp $
 */
public class NewsForm extends BaseForm {
    private String sortType;
    private String title;

    /**
     * @return the sortType
     */
    public String getSortType() {
        return sortType;
    }

    /**
     * @param sortType
     *            the sortType to set
     */
    public void setSortType(String sortType) {
        if (StringUtil.isNotBlank(sortType)) {
            this.sortType = sortType;
        } else {
            this.sortType = null;
        }
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title
     *            the title to set
     */
    public void setTitle(String title) {
        this.title = ZhzStringUtil.ISOtoUTF8AfterTrimIfNotNull(title);
    }

}
